#ifndef MYTEXTBROWSER_H
#define MYTEXTBROWSER_H

#include <QWidget>
#include <QMouseEvent>
#include "mymenu.h"
#include <QAction>

class MyTextBrowser : public QWidget
{
    Q_OBJECT
public:
    explicit MyTextBrowser(QWidget *parent = nullptr);

signals:
    void copyed();

private slots:
    void show_menu(const QPoint &pos);
    void buttonPressed();


private:
    MyMenu menu;
    QAction action;


};

#endif // MYTEXTBROWSER_H
